package com.project.bean;

import java.time.LocalDate;
import java.util.List;

public class EmployeeBean {
    private int id;
    private String name;
    private String tel;
    private String skill;
    private int salary;
    private LocalDate birthday;
    private LocalDate inDate = LocalDate.now();
    private String state = "在职";
    private String faceImg;
    /**正在做的项目数量*/
    private int projectNum;
    /**员工拥有项目进度*/
    private List<LinkBean> employeeProject;

    public EmployeeBean() {
    }

    public EmployeeBean(String name, String tel, String skill, int salary, LocalDate birthday, String faceImg) {
        this.name = name;
        this.tel = tel;
        this.skill = skill;
        this.salary = salary;
        this.birthday = birthday;
        this.faceImg = faceImg;
    }

    public int getProjectNum() {
        return projectNum;
    }

    public void setProjectNum(int projectNum) {
        this.projectNum = projectNum;
    }

    public List<LinkBean> getEmployeeProject() {
        return employeeProject;
    }

    public void setEmployeeProject(List<LinkBean> employeeProject) {
        this.employeeProject = employeeProject;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public LocalDate getInDate() {
        return inDate;
    }

    public void setInDate(LocalDate inDate) {
        this.inDate = inDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getFaceImg() {
        return faceImg;
    }

    public void setFaceImg(String faceImg) {
        this.faceImg = faceImg;
    }

    @Override
    public String toString() {
        return "EmployeeBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", skill='" + skill + '\'' +
                ", salary=" + salary +
                ", birthday=" + birthday +
                ", inDate=" + inDate +
                ", state='" + state + '\'' +
                ", faceImg='" + faceImg + '\'' +
                ", projectNum=" + projectNum +
                ", employeeProject=" + employeeProject +
                '}' + "\n";
    }
}
